package com.moorror.codegenvel.view.window.codegen.view;

import com.intellij.openapi.project.Project;
import com.moorror.codegenvel.tab.MRTabWrap;
import lombok.Getter;

import javax.swing.*;

/**
 * @Author jiyanghuang
 * @Date 2025/8/22 22:08
 */
public class TabWrapTabCodeGenSceneKeyFields extends MRTabWrap {

    @Getter
    private TabCodeGenSceneKeyFields tabCodeGenSceneKeyFields;

    public TabWrapTabCodeGenSceneKeyFields(Project project, int index, String title, JTabbedPane tabbedPane, TabCodeGenSceneKeyFields tabCodeGenSceneKeyFields) {
        super(project, index, title, tabbedPane, tabCodeGenSceneKeyFields, true);
        this.tabCodeGenSceneKeyFields = tabCodeGenSceneKeyFields;
    }

    @Override
    public void fetchValue() {
        tabCodeGenSceneKeyFields.fetchFromPanel();
    }
}
